package com.yh.homestay.common;

import com.yh.homestay.pojo.UserOwner;

import java.io.Serializable;

public class OwnerEditResult implements Serializable {
    private Integer code;
    private String  msg;
    private UserOwner userOwner;

    public OwnerEditResult(Integer code, String msg, UserOwner userOwner) {
        this.code = code;
        this.msg = msg;
        this.userOwner = userOwner;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserOwner getUserOwner() {
        return userOwner;
    }

    public void setUserOwner(UserOwner userOwner) {
        this.userOwner = userOwner;
    }

    @Override
    public String
    toString() {
        return "OwnerEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", userOwner=" + userOwner +
                '}';
    }
}
